<%@ page language="Java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">    
    <title>解决</title>        
 </head>
 <body>
 姓名：<%=new String(request.getParameter("name").getBytes("ISO-8859-1"),"UTF-8") %>
 性别：<%=request.getParameter("sex") %>
 </body>
</html>